package com.tju.backend.resources;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动类
 *
 * @USER: Administrator
 * @DATE: 2021 /09 /24 11:21
 */
@SpringBootApplication
@ComponentScan("com.tju.backend")
@MapperScan("com.tju.backend.dao")
public class StartApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class);
    }
}
